home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / memory / addram10.zip / ADDRAM.DOC < prev    next >
Text File  |  1989-02-14  |  21KB  |  544 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                    ADDRAM 1.0
  23.                      Copyright (c) 1989 by Marty Del Vecchio
  24.  
  25.  
  26.                     Adds memory to DOS using EMS 4.0 memory.
  27.  
  28.  
  29.                            Based on the program EEMRAM
  30.                             written by Chris Dunford
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                                 Table of Contents
  40.  
  41.  
  42.  
  43.  
  44.                I.   What You Should Have                         1
  45.  
  46.                II.  What the Program Does                        1
  47.  
  48.                III. What You Need                                2
  49.  
  50.                IV.  How to Do It                                 3
  51.  
  52.                V.   Message Reported by Programs                 4
  53.  
  54.                     A)  ADDRAM                                   4
  55.                     B)  SUBRAM                                   5
  56.                     C)  EMSDATA                                  6
  57.  
  58.                VI.  Notices/Disclaimer                           7
  59.  
  60.                VII. Questions                                    7
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                             I.  What You Should Have
  69.  
  70.  
  71.           ADDRAM consists of six files:
  72.  
  73.                1)  ADDRAM.COM      Program  that  uses  EMS  4.0  memory  to
  74.                                    extend DOS beyond 640K.
  75.                2)  ADDRAM.ASM      Assembly source for above.
  76.                3)  SUBRAM.COM      Program  that  undoes  ADDRAM--it returns
  77.                                    DOS to 640K
  78.                4)  SUBRAM.ASM      Assembly source for above.
  79.                5)  EMSDATA.EXE     Program that  gives information about the
  80.                                    EMS installed in your system.
  81.                6)  ADDRAM.DOC      This file--documentation.
  82.  
  83.  
  84.  
  85.                            II.  What the Program Does
  86.  
  87.           ADDRAM  can  increase  the  size  of  your  DOS  memory.    DOS is
  88.      restricted to  an arbitrary  limit of 640K of memory.  This is split up
  89.      into 10 segments (0 to 9) of 64K each, from  address 0000  to 9FFF hex.
  90.      DOS can  only handle  one large contiguous memory block, and ordinarily
  91.      this block is 640K large.
  92.  
  93.           This limit is arbitrary because of the placement  of video buffers
  94.      immediately after  the reserved DOS space.  The EGA/VGA graphics buffer
  95.      is located at A000.  The  monochrome text  buffer is  at B000,  and the
  96.      CGA/EGA/VGA text  buffer is  at B800.   Thus,  if you  are using a mono
  97.      card, then there is 64K of address space available right at the  end of
  98.      DOS that should be added to DOS.
  99.  
  100.           However, the DOS limit is widely known as 640K, and there are very
  101.      few memory cards designed to put memory at  these locations  for use by
  102.      DOS.  However, expanded memory cards that conform to the EEMS (Enhanced
  103.      Expanded Memory Specification) standard  from AST  have the  ability to
  104.      map memory  at virtually any location in the PC's address space.  Chris
  105.      Dunford wrote a program called EEMRAM  (EEMRAM11.ARC) that  mapped EEMS
  106.      memory at the unused video buffers and added it to DOS.
  107.  
  108.           When EMS  4.0 was introduced, it was a combination of "normal" EMS
  109.      3.2 (the type of memory provided by the Intel Above Board, for example)
  110.      and "enhanced" EMS (AST's memory cards).  Part of the EMS 4.0 spec says
  111.      that cards may be able to map memory at different  locations in  the PC
  112.      address space,  just like EEMS cards.  This program is designed for EMS
  113.      4.0 cards that can do this.
  114.  
  115.           However, it must be noted that this capability is an OPTION in the
  116.      EMS  4.0  spec.    Thus,  there  are  expanded  memory  cards  that are
  117.      advertised as "EMS 4.0" cards.  However, because they cannot map memory
  118.      wherever it  is needed,  they are insufficient for the purposes of this
  119.      program.  For this program, you need a "true" EMS  4.0 card.   For more
  120.  
  121.                                                                       Page 1
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.      particulars, see below.
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.                                                                       Page 2
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.                                III.  What You Need
  189.  
  190.           ADDRAM is  designed to  extend DOS  beyond 640K whenever possible,
  191.      using EMS 4.0 memory.  It  does  this  by  addressing  EMS  memory into
  192.      unused video  buffer memory.  ADDRAM can only increase DOS' memory size
  193.      under certain conditions:
  194.  
  195.           1)   You must already have exactly 640K  of DOS  memory installed.
  196.                No more, no less.
  197.  
  198.           2)   The machine  MUST have  an EMS  4.0 memory  card that can map
  199.                expanded memory into the A000 and B000 segments,  where video
  200.                memory is  located.  The vast majority of EMS cards available
  201.                cannot do this,  because  they  were  designed  prior  to the
  202.                release of  the EMS 4.0 specification.  This program requires
  203.                functions found in EEMS  cards,  and  NEWLY-DESIGNED  EMS 4.0
  204.                cards.   Many EMS  cards are  sold today as "EMS 4.0" capable
  205.                that cannot perform all of the  EMS 4.0  functions needed for
  206.                this particular purpose.
  207.  
  208.                The following  paragraphs represent my personal experience in
  209.                working with memory cards, and their fitness for a particular
  210.                purpose.  This should not be interpreted as a general view of
  211.                the cards  discussed--this  is  only  a  discussion  of their
  212.                suitability for use by ADDRAM.
  213.  
  214.                All  of  the  AST  Rampage products (Rampage 286, Rampage 286
  215.                Plus, etc.) have the required capability, since they are true
  216.                EEMS/EMS 4.0  cards.   However, you  need to  get the EMS 4.0
  217.                driver from AST for these products--ADDRAM does not work with
  218.                a plain  EEMS driver.   If you only have the old EEMS driver,
  219.                use EEMRAM11.ARC by Chris Dunford.
  220.  
  221.                The Intel Above  Board  products  (Above  Board,  Above Board
  222.                Plus) do not have the capability needed by ADDRAM.  The Above
  223.                Board is an old-style EMS card, and the new Above  Board Plus
  224.                is  prohibited  from  addressing  memory in the A000 and B000
  225.                segments to prevent conflicts with video memory.   Thus, they
  226.                cannot be used by ADDRAM to add memory to DOS.
  227.  
  228.                The Charge  Card from  All Computers,  Inc. can be used.  Use
  229.                the device driver "ALLEMM4.SYS" included on the ALL disks.
  230.  
  231.                QEMM from Quarterdeck and  386 to  the Max  from Qualitas can
  232.                also be used, but they can automatically add memory to DOS if
  233.                requested.  This program  should be  unnecessary if  you have
  234.                either of these products or a similar product.
  235.  
  236.                The  program   EMSDATA.EXE,  included   here,  can  help  you
  237.                determine if your EMS card can be used.
  238.  
  239.           3)   There must be unused memory starting at segment A000.  If you
  240.  
  241.                                                                       Page 3
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.                have  an  EGA  or  VGA  system,  you cannot add memory to DOS
  249.                unless you use the All Charge Card.  This is  because EGA/VGA
  250.                cards use the A000 segment for high resolution graphics video
  251.                buffers, and thus the EMS card cannot address memory there. 
  252.  
  253.                If you have the Charge Card, and you do not  use your EGA/VGA
  254.                in graphics  mode, but  only in  text mode,  you can overcome
  255.                this restriction by adding "i=A000-AFFF" to the command line.
  256.                This takes  away the graphics buffer and gives it to DOS, and
  257.                thus any program that  tries  to  use  EGA/VGA  graphics will
  258.                crash your  system.  It is up to